import request from '@/utils/request'
import {svc} from "@/config/common";

// 上传附件
export function fileUpload(data) {
  return request({
    url: '/' + svc + '/api/v1/customAttachment/upload',
    headers: {
      headers: { 'content-type': 'multipart/form-data' },
    },
    method: 'post',
    data: data
  })
}
